#!/bin/bash
usermod -p $(openssl passwd -1 $2) $1
echo "$2" > /etc/SSHPlus/senha/$1
echo "1"
usr_var1=$(cat /etc/adm-lite/userDIR/$1 | grep -v "senha")
echo -e "$usr_var1" > /etc/adm-lite/userDIR/$1
echo -e "senha: $2" >> /etc/adm-lite/userDIR/$1
pkill -f $1